package com.xian.manage.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xian.common.annotation.Excel;
import com.xian.common.core.domain.BaseEntity;

/**
 * 手作管理对象 tb_handmade
 * 
 * @author hanys
 * @date 2025-03-31
 */
public class Handmade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 手作名称 */
    @Excel(name = "手作名称")
    private String name;

    /** 手作图片 */
    @Excel(name = "手作图片")
    private String image;

    /** 手作描述 */
    private String description;

    /** 手作类别 */
    @Excel(name = "手作类别")
    private String category;

    /** 手作产地 */
    @Excel(name = "手作产地")
    private String origin;

    /** 手作价格 */
    @Excel(name = "手作价格")
    private BigDecimal price;

    /** 传承时间 */
    @Excel(name = "传承时间")
    private String time;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }

    public void setOrigin(String origin) 
    {
        this.origin = origin;
    }

    public String getOrigin() 
    {
        return origin;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("image", getImage())
            .append("description", getDescription())
            .append("category", getCategory())
            .append("origin", getOrigin())
            .append("price", getPrice())
            .append("time", getTime())
            .toString();
    }
}
